package cn.topevery.garden.entity.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.topevery.garden.entity.po.PointFile;
import hw.topevery.framework.dto.PointDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(value = "PointDTO", description = "样点管理表 DTO")
public class PointDTO {
    private Integer id;

    @ApiModelProperty(value = "样点编号")
    private String pointId;

    @ApiModelProperty(value = "区域")
    private String distractId;

    @ApiModelProperty(value = "区域")
    private String distractName;

    @ApiModelProperty(value = "所属路段")
    private String roadId;

    @ApiModelProperty(value = "所属路段")
    private String roadName;

    @ApiModelProperty(value = "所属标段")
    private String sectionId;

    @ApiModelProperty(value = "所属标段")
    private String sectionName;

    @ApiModelProperty(value = "绿地面积")
    private String greMeasure;

    @ApiModelProperty(value = "乔木数量")
    private Integer treeNumber;

    @ApiModelProperty(value = "养护级别")
    private Integer protectLevel;

    @ApiModelProperty(value = "样点id集合")
    private List<Integer> idList;

    @ApiModelProperty(value = "样点状态")
    private Integer status;

    private String pointNum;

    @ApiModelProperty(value = "计算空间数据")
    @Excel(name = "计算空间数据", orderNum = "0")
    private String geoWkt;

    @ApiModelProperty(value = "范围点信息")
    private List<List<PointDto>> mapRangesPoints;

    @ApiModelProperty(value = "附件")
    private List<PointFile> fileList;

    @ApiModelProperty(value = "所属绿地id")
    private Integer landId;
}
